1
کامپیوتر و شبکه::
حلقه do-while
The do-while loop is the same as a 'while' loop except that the block of code will be executed at least once, because it first executes the block of code and then it checks the condition.
As per the syntax above, do-while loop starts with the 'do' keyword followed by a code block and boolean expression with 'while'.
Just as in the case of the for and while loops, you can break out of the do-while loop using the break keyword.
Nested do-while loop:
The do-while loop can be used inside another do-while loop.
واژگان شبکه مترجمین ایران